// 行记录双击事件
function rowdbclickHandler(g, idx, e){
	var rec = g.store.getAt(idx);
	var stockid = rec.get("stock");
	window.location = contextPath+"/parse/stock/listRecord.xml?stock="+stockid;
}

// 组件输出完后调用
function afterOnReady(){
	stockList.on("rowdblclick", rowdbclickHandler);
}